﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System.Collections.Generic;

namespace  Frame.Core.Models
{
    [Table(DisableSyncStructure = true)]
    public class LayuiTableDataAjaxResult
    {
        /// <summary>
        /// 接口状态
        /// </summary>
        [JsonProperty("code")]
        public int code { get; set; }

        /// <summary>
        /// 提示文本
        /// </summary>
        [JsonProperty("msg")]
        public string msg { get; set; }

        /// <summary>
        /// 自定义成功标识
        /// </summary>
        [JsonProperty("codeIndex")]
        public int codeIndex { get; set; }


        /// <summary>
        /// 数据条数
        /// </summary>
        [JsonProperty("count")]
        public long count { get; set; }

        /// <summary>
        /// 获取 返回数据
        /// </summary>
        [JsonProperty("data")]
        public object data { get; set; }

        /// <summary>
        /// 获取合计数据
        /// </summary>
        [JsonProperty("totalRow")]
        public object totalRow { get; set; }

    }
}
